package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.ContactUsSection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linxz
 * @since 2025-01-07
 */
@Mapper
public interface ContactUsSectionMapper extends BaseMapper<ContactUsSection> {
    List<ContactUsSection> getList();

    List<ContactUsSection> isMulti(@Param("sectionName")String sectionName);

    int add(ContactUsSection section);

    int update(ContactUsSection section);

    int delete(@Param("id") int id);
}
